package com.reflect;

import com.github.houbb.id.core.core.IdSnowFlake;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import java.util.HashMap;
import java.util.Scanner;

/**
 * Unit test for simple App.
 */
public class AppTest 
    extends TestCase
{
    Scanner input = new Scanner(System.in);
    /**
     * Create the test case
     *
     * @param testName name of the test case
     */
    public AppTest( String testName )
    {
        super( testName );
    }

    /**
     * @return the suite of tests being tested
     */
    public static Test suite()
    {
        return new TestSuite( AppTest.class );
    }

    /**
     * Rigourous Test :-)
     */
    public void testApp()
    {
        assertTrue( true );

        HashMap<String,Object> h = new HashMap<>();
        h.put("a1","试听");
        h.put("a2",10);

        System.out.println(h.get("a1"));
        System.out.println(h.get("a2"));
    }
}
